-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put everything in paddle python wheel package enable pip install paddle #3102
Put everything in paddle python wheel package enable pip install paddle #3102
Conversation
Amazing!!! CI failed, please rebase / pull with the latest develop which contains the fix. |
… enable_pip_install_paddle
@helinwang CI fixed. And if we are going to make pushing |
python/setup.py.in
Outdated
}, | ||
scripts=['${PROJ_BINARY_ROOT}/paddle/scripts/paddle'], | ||
data_files=[('/usr/local/opt/paddle/bin', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dumping all binaries into wheel package will make it too large. Why we need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then people can just run pip install paddle
to install paddle.
@typhoonzero did some search. For different binary for linux and mac, seems we need to build "platform wheel" (run I think we need to have different pip package name for GPU and CPU only. E.g., tensorflow uses:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
… enable_pip_install_paddle
* fix batch_size when trt infer
Fix #2961
So we can push this paddle wheel package to pypi for users to simple run
pip install paddle
to install